package cn.imvc.app.repositories;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.Member;
import cn.imvc.data.jpa.repository.IJpqlExecutor;

public interface MemberRepository extends JpaRepository<Member, Integer>, IJpqlExecutor<Member> {
	public List<Member> findByLoginname(String loginname);
	public List<Member> findByEmail(String email);
	public List<Member> findByUnionid(String unionid);
	public List<Member> findByQqOpenid(String qqOpenid);
	public List<Member> findByParentId(int parentId);
}